﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JointInvestors.aspx.cs"
    MasterPageFile="~/Admin/PMAdmin.Master" Inherits="PM.Site.Admin.JointInvestors" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="form_left">
        <table>
            <tr>
                <td>
                    <asp:GridView ID="grvChildren" runat="server" HeaderStyle-Font-Bold="true" AutoGenerateColumns="true"
                        AlternatingRowStyle-BackColor="#F9F9F9" HeaderStyle-BackColor="#444444" HeaderStyle-Height="30px"
                        RowStyle-BackColor="#F6F4F5" HeaderStyle-ForeColor="Ivory">
                    </asp:GridView>
                </td>
                <br />
            </tr>
        </table>
        <table style="width: 500px; float:left;">
            <tr>
                <td>
                    <asp:Label ID="lblMsg" runat="server" Text=""></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:ValidationSummary ID="valsCustomerDetails" runat="server" ValidationGroup="g1" />
                </td>
            </tr>
            <tr>
                <td>
                    Client Code:
                </td>
                <td>
                    <asp:TextBox ID="txbClientId" runat="server" TextMode="SingleLine" ReadOnly="true"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="valClientId" runat="server" ErrorMessage="Client Id shuold have a value."
                        ControlToValidate="txbClientId" Display="Dynamic" SetFocusOnError="True" ValidationGroup="g1">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Joint Investor Code:
                </td>
                <td>
                    <asp:TextBox ID="txbChildId" runat="server" TextMode="SingleLine"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Child Id shuold have a value."
                        ControlToValidate="txbChildId" Display="Dynamic" SetFocusOnError="True" ValidationGroup="g1">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Title:
                </td>
                <td>
                    <asp:DropDownList ID="ddlTitleList" runat="server" DataTextField="TitleName" DataValueField="TitleName">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    Surname:
                </td>
                <td>
                    <asp:TextBox ID="txbSurname" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Family Name:
                </td>
                <td>
                    <asp:TextBox ID="txbFamilyName" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Full Name:
                </td>
                <td>
                    <asp:TextBox ID="txbFullName" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Gender:
                </td>
                <td>
                    <asp:DropDownList ID="ddlGender" runat="server" DataTextField="GenderName" DataValueField="GenderName">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    Martial Status:
                </td>
                <td>
                    <asp:DropDownList ID="ddlMaritalStatus" runat="server" DataTextField="MartialStatusName"
                        DataValueField="MartialStatusName">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    Date of birth:
                </td>
                <!--<td><asp:Calendar ID="Calendar1" runat="server"></asp:Calendar></td> -->
                <td>
                    <asp:TextBox ID="txbDob" runat="server" TextMode="SingleLine"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="valDate" runat="server" ErrorMessage="Please specify the Date of Birth."
                        ControlToValidate="txbDob" Display="Dynamic" SetFocusOnError="True" ValidationGroup="g1">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Country of Residence:
                </td>
                <td>
                    <asp:TextBox ID="txbCountryRes" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Citizenship:
                </td>
                <td>
                    <asp:TextBox ID="txbCitizenship" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Residential Address:
                </td>
                <td>
                    <asp:TextBox ID="txbAddRes" runat="server" TextMode="MultiLine"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="valtxbAddRes" runat="server" ErrorMessage="Please enter the Residential Address"
                        ControlToValidate="txbAddRes" Display="Dynamic" SetFocusOnError="True" ValidationGroup="g1">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Office Address:
                </td>
                <td>
                    <asp:TextBox ID="txbAddOffice" runat="server" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
        </table>
        <table style="width: 500px; float:left;">
            <tr>
                <td>
                    Telephone Number
                </td>
            </tr>
            <tr>
                <td>
                    Mobile:
                </td>
                <td>
                    <asp:TextBox ID="txbTelMobile" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Office:
                </td>
                <td>
                    <asp:TextBox ID="txbTelOffice" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Resident:
                </td>
                <td>
                    <asp:TextBox ID="txbTelRes" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Fax:
                </td>
                <td>
                    <asp:TextBox ID="txbFax" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Email:
                </td>
                <td>
                    <asp:TextBox ID="txbEmail" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Occupation:
                </td>
                <td>
                    <asp:TextBox ID="txbOccupation" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Remarks:
                </td>
                <td>
                    <asp:TextBox ID="txbRemarks" runat="server" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="btnSave" runat="server" Text="Save" ValidationGroup="g1" OnClick="btnSave_Click" />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
